package com.shopx.auth.dao.db1;

import com.shopx.auth.bean.SysUserOrg;
import com.shopx.auth.model.SysUserOrgModel;
import com.shopx.dal.mysql.SqlMapper;
import java.util.List;

/**
 * TODO
 * @author lituo
 * @className: SysUserOrg
 * @date 2025-03-06
 */
@SqlMapper
public interface SysUserOrgDao {
    /**
     * 查询明细记录
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return SysUserOrgModel
     */
    SysUserOrgModel selectByPrimaryKey(SysUserOrg sysUserOrg);
    /**
     * 新增记录
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return int
     */
	int insertSelective(SysUserOrg sysUserOrg);

    /**
     * 修改记录
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return int
     */
	int updateByPrimaryKeySelective(SysUserOrg sysUserOrg);

    /**
     * 删除记录
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return int
     */
	int deleteByPrimaryKey(SysUserOrg sysUserOrg);

    /**
     * 查询总记录数
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return int
     */
	int selectCount(SysUserOrgModel sysUserOrg);

    /**
     * 查询列表
     * @author lituo
     * @date 2025-03-06
     * @param sysUserOrg
     * @return List<SysUserOrgModel>
*/
	List<SysUserOrgModel> selectList(SysUserOrgModel sysUserOrg);


    /**
     * 批量插入
     * @param list
     */
    void insertBatch(List<SysUserOrg> list);

    /**
     * 批量删除
     * @param list
     */
    void deleteBatch(List<SysUserOrg> list);

}

